package tests;



import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import desa.Vector;

public class VectorTest {
	Vector a;
	Vector b;

	@Before
	public void setUp() throws Exception {
		a = new Vector(3,-5);
		b = new Vector(2, 4);
	}
	
	@Test
	public void testGetX() {
		assertTrue(a.getX() == 3);
	}
	
	@Test
	public void testGetY() {
		assertTrue(a.getY() == -5);
	}
}
